package com.lai.shop.vo;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(description = "订单登录Vo")
public class UserLoginVo {

    @NotBlank(message = "用户名不能为空")
    @Size(min = 3,message = "参数长度错误")
    private String account;

    @NotBlank(message = "密码不能为空")
    @Size(min = 6,max = 18,message = "参数长度错误")
    private String password;



}
